package com.itfreer.power.service.organize;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;
import com.itfreer.power.entity.organize.PositionEntity;

/**
 * 定义用户服务
 */
@Component
@Path("/position/")
public class RestPositionService extends BaseRestService<PositionEntity>{
	
	/**
	 * 用户信息管理接口
	 */
	@Autowired
	private PositionService positionManage;

	@Override
	protected BaseService<PositionEntity> getService() {
		return positionManage;
	}
	
	@Override
	protected String getServiceName() {
		return "position";
	}
}
